Optimal. Leaf size=27 \[ \frac {(a+b \log (c (e+f x)))^2}{2 b d f} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 27, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.130, Rules used = {2437, 12, 2338}
\begin {gather*} \frac {(a+b \log (c (e+f x)))^2}{2 b d f} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 2338
Rule 2437
Rubi steps
\begin {align*} \int \frac {a+b \log (c (e+f x))}{d e+d f x} \, dx &=\frac {\text {Subst}\left (\int \frac {a+b \log (c x)}{d x} \, dx,x,e+f x\right )}{f}\\ &=\frac {\text {Subst}\left (\int \frac {a+b \log (c x)}{x} \, dx,x,e+f x\right )}{d f}\\ &=\frac {(a+b \log (c (e+f x)))^2}{2 b d f}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 27, normalized size = 1.00 \begin {gather*} \frac {(a+b \log (c (e+f x)))^2}{2 b d f} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.29, size = 42, normalized size = 1.56
method | result | size |
risch | \(\frac {b \ln \left (c \left (f x +e \right )\right )^{2}}{2 d f}+\frac {a \ln \left (f x +e \right )}{d f}\) | \(35\) |
norman | \(\frac {a \ln \left (c \left (f x +e \right )\right )}{d f}+\frac {b \ln \left (c \left (f x +e \right )\right )^{2}}{2 d f}\) | \(37\) |
derivativedivides | \(\frac {\frac {c a \ln \left (c f x +c e \right )}{d}+\frac {c b \ln \left (c f x +c e \right )^{2}}{2 d}}{c f}\) | \(42\) |
default | \(\frac {\frac {c a \ln \left (c f x +c e \right )}{d}+\frac {c b \ln \left (c f x +c e \right )^{2}}{2 d}}{c f}\) | \(42\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 108 vs.
\(2 (26) = 52\).
time = 0.31, size = 108, normalized size = 4.00 \begin {gather*} -\frac {1}{2} \, b {\left (\frac {2 \, \log \left (c f x + c e\right ) \log \left (d f x + d e\right )}{d f} - \frac {\log \left (f x + e\right )^{2} + 2 \, \log \left (f x + e\right ) \log \left (c\right )}{d f}\right )} + \frac {b \log \left (c f x + c e\right ) \log \left (d f x + d e\right )}{d f} + \frac {a \log \left (d f x + d e\right )}{d f} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.37, size = 36, normalized size = 1.33 \begin {gather*} \frac {b \log \left (c f x + c e\right )^{2} + 2 \, a \log \left (c f x + c e\right )}{2 \, d f} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.09, size = 31, normalized size = 1.15 \begin {gather*} \frac {a \log {\left (d e + d f x \right )}}{d f} + \frac {b \log {\left (c \left (e + f x\right ) \right )}^{2}}{2 d f} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 3.63, size = 33, normalized size = 1.22 \begin {gather*} \frac {b \log \left (c f x + c e\right )^{2} + 2 \, a \log \left (f x + e\right )}{2 \, d f} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.35, size = 31, normalized size = 1.15 \begin {gather*} \frac {b\,{\ln \left (c\,e+c\,f\,x\right )}^2+2\,a\,\ln \left (e+f\,x\right )}{2\,d\,f} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________